package com.library.books.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.library.common.annotation.Excel;
import com.library.common.core.domain.BaseEntity;

import java.io.Serializable;
import java.util.Date;

/**
 * 打印对象 print
 *
 * @author hb
 * @date 2024-12-09
 */
@ApiModel("打印表")
@Accessors(chain = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("`print`")
public class Print implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long printId;

    /** 副本id */
    @ApiModelProperty("副本id")
    @Excel(name = "副本id")
    private Long booksCopyId;

    /** 打印状态 0未打印 1已打印 2申请打印 */
    @ApiModelProperty("打印状态 0未打印 1已打印 2申请打印")
    @Excel(name = "打印状态 0未打印 1已打印 2申请打印")
    private String printStatus;

    /** 操作平台 */
    @ApiModelProperty("操作平台")
    @Excel(name = "操作平台")
    private String operateTerrace;

    /** 操作用户编号 */
    @ApiModelProperty("操作用户编号")
    @Excel(name = "操作用户编号")
    private String operateNumber;

    /** 创建者 */
    @ApiModelProperty("创建者")
    @Excel(name = "操作人")
    @TableField(fill = FieldFill.INSERT)
    private String createBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}
